<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!--_meta 作为公共模版分离出去-->
<!DOCTYPE HTML>
<html>
<head>
	<%
		String basePath = request.getScheme()
				+"://"
				+request.getServerName()
				+":"
				+request.getServerPort()
				+request.getContextPath()
				+"/";
	%>
	<base href="<%=basePath%>">
<!--_meta 作为公共模版分离出去-->
	<%@ include file="common/web_meta.jsp"%>
<!--/meta 作为公共模版分离出去-->
<title>自主点餐系统</title>
<style type="text/css">
    .icon {
       width: 1em; height: 1em;
       vertical-align: -0.15em;
       fill: currentColor;
       overflow: hidden;
    }
</style>
</head>
<body>
<!--/_header 作为公共模版分离出去-->
<%@ include file="common/web_header.jsp"%>
<!--/_header 作为公共模版分离出去-->

<!--_menu 作为公共模版分离出去-->
<%@ include file="common/web_menu.jsp"%>
<!--/_menu 作为公共模版分离出去-->
<section class="Hui-article-box">
	<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span> 积分管理 <span class="c-gray en">&gt;</span> 积分列表 <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
	<div class="Hui-article">
		<div class="pd-20">
			<div class="cl pd-5 bg-1 bk-gray mt-20"> <span class="l"><a href="javascript:;" onclick="datadel()" class="btn btn-danger radius"><i class="Hui-iconfont">&#xe6e2;</i> 批量删除</a> <a class="btn btn-primary radius" href="pc/web_integral_add.jsp"><i class="Hui-iconfont">&#xe600;</i> 添加积分促销</a></span> <span class="r">共有数据：<strong>?</strong> 条</span> </div>
			<div class="mt-20">
				<table class="table table-border table-bordered table-bg table-hover table-sort">
					<thead>
					<tr class="text-c">
						<th width="40">图片</th>
						<th width="100">积分使用说明</th>
						<th width="60">需消费的积分</th>
						<th width="60">可换的优惠卷名称</th>
						<th width="40">操作</th>
					</tr>
					</thead>
					<tbody>
					<c:forEach begin="0" end="${requestScope.pointlist.size()}" items="${requestScope.pointlist}" var="item" varStatus="status">
					<tr class="text-c va-m">
						<td>${item.pointPicture}</td>
						<td>${item.pointExplain}</td>
						<td><span class="price">${item.needPoints}</span></td>
						<td>${item.gainCouponId}</td>
						<td class="td-manage">
							<a style="text-decoration:none" class="ml-5" onClick="product_edit('产品编辑','product-add.html','10001')" href="javascript:;" title="编辑"><i class="Hui-iconfont">&#xe6df;</i></a>
							<a style="text-decoration:none" class="ml-5" href="pointservlet?action=deletePointById&id=${item.id}" title="删除"><i class="Hui-iconfont">&#xe6e2;</i></a>
						</td>
					</tr>
					</c:forEach>
					</tbody>
				</table>
			</div>
		</div>
	</div>

	</div>
</section>
<!--_footer 作为公共模版分离出去-->
<%@ include file="common/web_footer.jsp"%>
<!--/_footer /作为公共模版分离出去-->
<script type="text/javascript">
</script>
</body>
</html>